/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.behavioral.chain;

/**
 *
 * @author jmg
 */
public class ValidateNotNull extends Validator{

    @Override
    public void execute(String s) {
        
         if(s == null){
             throw new RuntimeException(s + "es nulo");
         }      
    }
    
}
